package com.lichongbing.leetcode.editor.cn.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lichongbing.leetcode.editor.cn.domain.TestCase;
import com.lichongbing.leetcode.editor.cn.mapper.TestCaseMapper;
import com.lichongbing.leetcode.editor.cn.service.TestCaseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 *
 */
@Service
public class TestCaseServiceImpl extends ServiceImpl<TestCaseMapper, TestCase>
    implements TestCaseService {
    @Resource
    private TestCaseMapper mapper;
    @Override
    public Page<TestCase> selectPage(Page<TestCase> page, LambdaQueryWrapper<TestCase> orderByAsc) {
        return mapper.selectPage(page,orderByAsc);
    }
}




